const treeData = {
  "name": "80后",
  "id": 1,
  "type": "profile",
  "children": [
    {
      "name": "中年体育爱好画像",
      "id": 2,
      "type": "profile",
      "children": [
        {
          "name": "APP体育赛事",
          "id": 3,
          "type": "marketingActivity",
        },
        {
          "name": "体育爱好者",
          "id": 4,
          "type": "profile",
        },
        {
          "name": "关联体育的营销活动A",
          "id": 5,
          "type": "marketingActivity",
          "children": [
            {
              "name": "产品组（货标签）",
              "id": 6,
              "type": "productGroup",
            }
          ]
        },
        {
          "name": "关联的营销活动B",
          "id": 7,
          "type": "marketingActivity",
        },
        {
          "name": "关联的营销活动C",
          "id": 8,
          "type": "marketingActivity",
        },
        {
          "name": "关联的事件实例",
          "id": 9,
          "type": "eventInstance",
          "children": [
            {
              "name": "退订/产品订购",
              "id": 10,
              "type": "eventInstance",
              "children": [
                {
                  "name": "产品组（货标签）",
                  "id": 11,
                  "type": "productGroup",
                }
              ]
            },
            {
              "name": "流量资源信息",
              "id": 12,
              "type": "eventInstance",
            },
            {
              "name": "用户位置行踪分类",
              "id": 13,
              "type": "eventInstance",
              "children": [
                {
                  "name": "基站组（场标签）画像",
                  "id": 14,
                  "type": "baseStationGroup",
                },
              ],
            },
          ]
        },
      ]
    },
    {
      "name": "家宽推荐画像",
      "id": 15,
      "type": "profile",
      "children": [
        {
          "name": "非家宽推荐画像",
          "id": 16,
          "type": "profile",
        },
        {
          "name": "电视剧爱好者",
          "id": 23,
          "type": "profile",
        },
      ]
    },
    {
      "name": "短视频流量型画像",
      "id": 30,
      "type": "profile",
      "children": [
        {
          "name": "流量超套用户",
          "id": 31,
          "type": "profile",
        },
      ]
    },
    {
      "name": "中年体育爱好画像",
      "id": 32,
      "type": "profile",
      "children": [
        {
          "name": "APP体育赛事",
          "id": 33,
          "type": "marketingActivity",
        },
        {
          "name": "体育爱好者",
          "id": 34,
          "type": "profile",
        },
        {
          "name": "关联体育的营销活动A",
          "id": 35,
          "type": "marketingActivity",
          "children": [
            {
              "name": "产品组（货标签）",
              "id": 36,
              "type": "productGroup",
            }
          ]
        },
        {
          "name": "关联的营销活动B",
          "id": 37,
          "type": "marketingActivity",
        },
        {
          "name": "关联的营销活动C",
          "id": 38,
          "type": "marketingActivity",
        },
        {
          "name": "关联的事件实例",
          "id": 39,
          "type": "eventInstance",
          "children": [
            {
              "name": "退订/产品订购",
              "id": 40,
              "type": "eventInstance",
              "children": [
                {
                  "name": "产品组（货标签）",
                  "id": 41,
                  "type": "productGroup",
                }
              ]
            },
            {
              "name": "流量资源信息",
              "id": 42,
              "type": "eventInstance",
            },
            {
              "name": "用户位置行踪分类",
              "id": 43,
              "type": "eventInstance",
              "children": [
                {
                  "name": "基站组（场标签）画像",
                  "id": 44,
                  "type": "baseStationGroup",
                },
              ],
            },
          ]
        },
      ]
    },
  ]
}

const data = {
  nodes: [
    // existing nodes...
    { id: 'newNode', label: '新节点', group: '80后', x: 100, y: 200 }, // 新增节点
    // ...
  ],
  edges: [
    // existing edges...
    { source: 'newNode', target: 'existingNodeId' }, // 新增边
    // ...
  ]
}

export {
  treeData
}